class start_scene extends eui.Component implements  eui.UIComponent {
	public constructor() {
		super();
			this.skinName = "resource/skins/start_scene.exml";
	}

	btnStart:eui.Button;

	protected partAdded(partName:string,instance:any):void
	{
		super.partAdded(partName,instance);
	}


	protected childrenCreated():void
	{
		super.childrenCreated();
		this.btnStart.$addListener(egret.TouchEvent.TOUCH_TAP,this.onStart,this);
	}

	onStart(){
		EffectUtils.playEffect(this,1);
		SceneManager.toMainScene();
	}
	
}